<template>
  <div class="about">
    {{ $store.state.yiyan }}
    <el-button type="primary" @click="edit"
      >点击给vuex 随机一言变成“hhh”</el-button
    >
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  mounted() {},
  methods: {
    edit() {
      this.$store.state.yiyan = "hhh";
    },
  },
};
</script>
